package com.assembler.app.genome;

/**
 * This class is entry point for generating, saving and loading of genome.
 * 
 * This class is a part of the lab rotation project for PhD  students in January 2014.
 * School of Computing
 * National University Singapore.
 * 
 * @author Iana Pyrogova, Abha Belorkar
 * @version 1.0.1
 */
public class MainAppGenome {

	private static final int GENOM_LENGTH = 3000;

	private static final int CONSOLE_PRINT_SIZE = 200;

	public static void main(String[] arg) {
//		GenomeGenerator genomGenerator = new GenomeGenerator();
//		Genome genom = genomGenerator.generateGenom(GENOM_LENGTH);
//		GenomeFileHelper genomFileHelper = new GenomeFileHelper();
//		String fileName = "genom_" + GENOM_LENGTH + ".txt";
//		genomFileHelper.saveToFile(fileName, genom);
//
//		Genome genomReadFromFile = genomFileHelper.readFromFile(fileName);
//		System.out.println(genomReadFromFile.toString().substring(0, CONSOLE_PRINT_SIZE));
		
		GenomeFileHelper genomeFileHelper = new GenomeFileHelper();
		Genome genome = genomeFileHelper.readFromTxtFile("ecoli_genome.txt");
		
	}
}
